# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:        潘炎珍  
# Name:         server
# Description:
# Author:       98745
# Date:         2019/3/11
#-------------------------------------------------------------------------------

from flask import Flask,request
app=Flask(__name__)
@app.route('/register',methods=['POST'])
def register():
    print(request.form.get('name'))
    print(request.form.get('age'))
    return '注册成功'
if __name__ =='__main__':
    app.run()

